#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<string.h>

void zh(char arr[])
{
	int i = 0;
	char temp = 0;
	int len = strlen(arr);
	for (i = 0; i <= len; i += 2)
	{
		temp = arr[i];
		arr[i] = arr[i + 1];
		arr[i + 1] = temp;
	}
}

int main()
{
	char str[100] = { 0 };
	int i = 0;
	gets(str);
	int len = strlen(str);
	if ((len - 1) % 2 == 1)
	{
		for (i = 0; i < len && str[i+1] != '\0'; i++)
			str[i] = str[i + 1];
		str[i] = 'F';
		str[i + 1] = '\0';
	}
	else
	{
		for (i = 0; i < len && str[i] != '\0'; i++)
			str[i] = str[i + 1];
		str[i] = '\0';
	}
	zh(str);
	printf("%s", str);
	return 0;
}